<div class="containFt main registe" :class="C('cssType')" v-if="show">
	<template v-if="form.wxid">
    <div class="head"></div>
    
    <div class="registe-content">
        <form id="registerForm" class="" v-if="form.wxid">
            <input type="hidden" name="step" value="2">
            <input class="ipt bord-rad-top-3" type="text" placeholder="姓名" v-model="form.username" name="username">
            <input class="ipt" id="mobile" type="number" placeholder="手机号码" v-model="form.mobile" name="mobile">

            
            <div class="row vcode">
                <input class="ipt col" type="text" placeholder="动态码" v-model="form.captcha" name="captcha">
                <div class="col captcha tr">
                    <span class=""><img id="captchaImg" class="" :src="imgSrc" @click="changeCaptcha"/></span>
                    <a @click="changeCaptcha">换一张</a>
                </div>
            </div>

            <div class="row smscode">
                <input id="verifycode" class="col ipt ipt-smscode" type="text" maxlength="6" name="verifycode" v-model="form.smcode" placeholder="验证码">
                <div class="col tr">
                    <input type="button" id="btnVerify" class="btn btn-smscode" @click="getVerify" value="获取验证码">
                </div>
            </div>
            <input class="ipt" type="password" placeholder="登录密码" name="loginpwd" v-model="form.loginpwd">
            <input class="ipt" type="password" placeholder="确认登录密码" name="reloginpwd" v-model="form.reloginpwd">
            <input class="ipt parentid bord-rad-bot-3" id="parentid" name="parentid" type="text" :placeholder="'服务商编号：'+form.parentid" v-model="form.iptparentid" v-if="form.parentid">
            <input class="ipt parentid bord-rad-bot-3" id="parentid" name="parentid" type="text" placeholder="服务商编号" v-model="form.iptparentid" v-else>

            <label class="risk">
	            <input type="checkbox" v-model="form.checkbox">
                <span>我已阅读并同意<a href="#/user/risk">《风险揭示书》</a></span>
            </label>

            <input type="button" id="subBtn" class="btn sub bord-rad" @click="register" value="注册">
            <p class="row"><a href="#/pass/getlogin" class="col"></a><a href="#/login" class="col tr">已有账号？立即登录</a></p>
        </form>
    </div>
	</template>
         
    <div v-if="!form.wxid" style="text-align:center;margin-top: 50%;">
        获取微信信息失败，请<a href="javascript:location.reload()" style="color:#1080e0;">刷新</a>重试！
    </div>
</div><!-- main -->